<!DOCTYPE html>
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
    <title>基于大语言模型的旅游地图情景化智能生成系统</title>
    {% load static %}
    <link rel="stylesheet" href="{% static 'css/index.css' %}">
    <script type="text/javascript"
        src="https://api.map.baidu.com/api?v=1.0&type=webgl&ak=oNlnSiPpckQaKVRZLUQX5FLyUxNolioa"></script>
</head>

<body>
    <div class="top-bar">
        <h1 class="title">基于大语言模型的旅游地图情景化智能生成系统</h1>
    </div>

    <div class="left-panel">
        <div class="chat-container">
            <div class="messages-container" id="messages-container">
                <div class="message ai-message">您好！请输入您的旅游需求...</div>
            </div>
        </div>

        <form id="input-form">
            <textarea id="input-text" name="user_input" placeholder="请输入您的旅游需求..."></textarea>
            <div class="button-container">
                <button type="submit">提交</button>
            </div>
        </form>
    </div>

    <div class="right-panel">
        <button id="export-btn" disabled style="position: absolute; top: -40px; right: 10px; z-index: 1000;">
            导出地图
        </button>
        <div id="allmap"></div>
    </div>

    <script src="{% static 'js/BaiduMapTest.js' %}"></script>
    <script src="{% static 'js/index.js' %}"></script>
</body>

</html>